%% Author: zhangjun
%% Created: 2008-11-29
%% Description: TODO: Add description to tut14
-module(tut14).

%%
%% Include files
%%

%%
%% Exported Functions
%%
-export([start/0]).

%%
%% API Functions
%%

%%
%% TODO: Add description of start/function_arity
%%
say_something(What, 0) ->
	done;
say_something(What, Times) ->
    io:format("~p~n", [What]),
    say_something(What, Times - 1).

start() ->
    spawn(tut14, say_something, [hello, 3]),
    spawn(tut14, say_something, [goodbye, 3]).

%%
%% Local Functions
%%

